package ballFinder.environment.sensors;

import lejos.nxt.SensorPort;
import lejos.nxt.TouchSensor;

public class TouchingSensor {

	private TouchSensor touch;
	
	public TouchingSensor(){
		touch = new TouchSensor(SensorPort.S4);
	}
	
	public boolean isPressed(){
		return touch.isPressed();
	}
}
